#ifndef __ChuShuiDuanDian_h
#define __ChuShuiDuanDian_h


#define P_CSDD  P1_6

#define P_BengJDQ  P1_3
#define setBengJDQ  P1_3=1
#define clrBengJDQ	P1_3=0
#ifdef __ChuShuiDuanDian_c

uint16_t checkTime;
uint8_t checkNum;
bit bDuanDian;
bit lastCSDD;
uint16_t holdsetTimer;
uint16_t holdtClrimer;
#else
extern uint8_t holdtClrimer;
extern uint8_t holdsetTimer;
extern bit lastCSDD;
 extern bit bDuanDian;
extern uint8_t checkNum;
extern uint16_t checkTime;

#endif
void CSDDFunction();

#endif
